<?php
	$id=$_POST['id'];
	$name=$_POST['name'];
	
	if(isset($_POST['submit'])){
		$sttmt = $koneksi->exec("update member set member='$name' where id_member=$id");
	}
	
	$url_sukses='utama.php?module=mod_member';
	if($sttmt){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>